:root {
    --primary: #284b64;
}

.info_grid{
    padding-bottom: 16vh;
    display: flex;
    justify-content: space-between;
}

.info_grid_left{
    width: 50%;
}

.info_image{
    width: 100%;
    height: 30vw;
    background-image: url('../images/skill_info_sw.jpg');
    background-size: auto 100%;
    background-repeat: no-repeat;
    justify-content: space-between;
}

.info_grid_right{
    width: 50%;
    background-color: #F5F5F5;
}

.info_text{
    padding: 8vh 5vw;
    margin: 0vh 0vw;
    text-align: left;
    background-color: #F5F5F5;
    font-size: 2vw;
    font-weight: bold;
}

.info_text a{
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
}

.skill_grid{
    padding-bottom: 16vh;
    display: flex;
    justify-content: space-between;
    font-size: 1.25vw;
}

.skill_grid_left{
    width: 41%;
}

.headline{
    padding-bottom: 5vh;
    font-size: 2.5vw;
    font-weight: bold;
    color: var(--primary);
    text-align: left;
}

.content_left{
    padding-left: 8vw;
    font-weight: lighter;
}

.skill_grid_right{
    padding: 1vh 4vw;
    padding-bottom: 7vh;
    margin: -6vh -4vw;
    width: 50%;
    background-color: #F5F5F5;
}

.subheadline{
    padding-top: 6vh;
    padding-bottom: 2vh;
    font-size: 1.25vw;
    font-weight: bold;
    color: var(--primary);
    text-align: left;
}
.content_right{
    padding-left: 0vw;
    font-weight: lighter;
}

.skill_image{
    margin: 0vh -5.5vw;
    margin-bottom: 6vh;
    height: 35vh;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.skill_image#elektrische_antriebstechnik{
    background-image: url('../images/leistung_1.jpg');
}

.skill_image#internet_der_dinge{
    background-image: url('../images/leistung_2.jpg');
}

.skill_image#mathematische_modelle{
    background-image: url('../images/leistung_3.jpg');
}

.skill_image#signalverarbeitung{
    background-image: url('../images/leistung_4.jpg');
}

.skill_image#softwareentwicklung{
    background-image: url('../images/leistung_5.jpg');
}

@media screen and (orientation:portrait){
    .info_grid{
        padding-bottom: 6vh;
        margin: 0vh -5vw;
        display: block;
        justify-content: space-between;
    }

    .info_grid_left{
        width: 100%;
        
    }
    
    .info_image{
        width: 100%;
        background-size: auto 100%;
        height: 65vw;
    }
    
    .info_grid_right{
        width: 100%;
        background-color: #F5F5F5;
    }
    
    .info_text{
        padding: 8vh 5vw;
        margin: 0vh 0vw;
        text-align: left;
        background-color: #F5F5F5;
        font-size: 4vw;
        font-weight: bold;
    }

    .skill_image{
        margin: 0vh -5vw;
        margin-bottom: 2vh;
        height: 12vh;
    }
    
    .skill_grid{
        padding-bottom: 0vh;
        display: block;
        justify-content: space-between;
        font-size: 3vw;
    }

    .skill_grid_left{
        width: 100%;
        padding-bottom: 2vh;
    }

    .headline{
        padding-bottom: 2vh;
        font-size: 5vw;
    }

    .content_left{
        padding-left: 0vw;
    }

    .skill_grid_right{
        padding: 0vh 5vw;
        padding-bottom: 4vh;
        margin: 0vh -5vw;
        width: 100%;
    }

    .subheadline{
        padding-top: 1vh;
        padding-bottom: 2vh;
        font-size: 4vw;
    }

    .content_right{
        padding-bottom: 0vh;
        max-height: 0;
        overflow: hidden;
        transition: all 1s ;/*ease-in-out;*/
    }

    .content_right:after{
        content: "";
        display: block;
        width: 100%;
        padding-bottom: 2vh;
    }

    .content_right.is-active{
        max-height: 1000px;
    }

}